package com.imooc.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDate;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class CompanyInfoVO {

    private String companyId;
    private String companyName;
    private String shortName;
    private String logo;

    private String province;
    private String city;
    private String district;
    private String address;


    private String peopleSize;
    private String nature;
    private String industry;
    private String financStage;

    private String workTime;
    private String introduction;

    private String advantage;
    private String benefits;
    private String bonus;
    private String subsidy;

    private Integer reviewStatus;
    private String reviewReplay;

    @JsonDeserialize(using = LocalDateDeserializer.class)
    @JsonSerialize(using = LocalDateSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate commitDate;

    private String commitUserId;
    private String commitUser;
    private String commitMobile;
    private String authLetter;

    private String bizLicense;

    @JsonDeserialize(using = LocalDateDeserializer.class)
    @JsonSerialize(using = LocalDateSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate buildDate;

    private String registCapital;
    private String registPlace;
    private String legalRepresentative;
}
